package cn.guxinhu.billsystem.entity;

import org.springframework.stereotype.Repository;

import java.sql.Date;

@Repository
public class Bill {
    private Integer bId;
    private String userName;
    private Date orderTime;
    private Date completionTime;
    private String otime;
    private String ctime;
    private String billName;
    private String specification;
    private String paper;
    private String technology;
    private String quantity;
    private double unitPrice;
    private double totalMoney;
    private double received;
    private Integer state;
    private Integer recycle;
    private String picture;
    private String pictureMin;

    public Integer getbId() {
        return bId;
    }

    public void setbId(Integer bId) {
        this.bId = bId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getCompletionTime() {
        return completionTime;
    }

    public void setCompletionTime(Date completionTime) {
        this.completionTime = completionTime;
    }

    public String getOtime() {
        return otime;
    }

    public void setOtime(String otime) {
        this.otime = otime;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getBillName() {
        return billName;
    }

    public void setBillName(String billName) {
        this.billName = billName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getPaper() {
        return paper;
    }

    public void setPaper(String paper) {
        this.paper = paper;
    }

    public String getTechnology() {
        return technology;
    }

    public void setTechnology(String technology) {
        this.technology = technology;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public double getReceived() {
        return received;
    }

    public void setReceived(double received) {
        this.received = received;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getRecycle() {
        return recycle;
    }

    public void setRecycle(Integer recycle) {
        this.recycle = recycle;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getPictureMin() {
        return pictureMin;
    }

    public void setPictureMin(String pictureMin) {
        this.pictureMin = pictureMin;
    }

    @Override
    public String toString() {
        return "Bill{" +
                "bId=" + bId +
                ", userName='" + userName + '\'' +
                ", orderTime=" + orderTime +
                ", completionTime=" + completionTime +
                ", otime='" + otime + '\'' +
                ", ctime='" + ctime + '\'' +
                ", billName='" + billName + '\'' +
                ", specification='" + specification + '\'' +
                ", paper='" + paper + '\'' +
                ", technology='" + technology + '\'' +
                ", quantity='" + quantity + '\'' +
                ", unitPrice=" + unitPrice +
                ", totalMoney=" + totalMoney +
                ", received=" + received +
                ", state=" + state +
                ", recycle=" + recycle +
                ", picture='" + picture + '\'' +
                ", pictureMin='" + pictureMin + '\'' +
                '}';
    }
}